package com.king.designpatterns.创造型模式.建造者模式;

/**
 * @author king
 * @date 2021-06-07 17:13
 */
public class X201 extends Computer{
    public X201() {
        this.setType("ThinkPad X201i");
    }

    @Override
    public String toString() {
        return "型号:\t" + this.getType() + "\nCPU:\t" + this.getCpu() + "\n内存:\t" + this.getRam() +
                "\n硬盘:\t" + this.getHardDisk() + "\n显示器:\t" + this.getMonitor() +
                "\n操作系统:" + this.getOs();
    }
}
